package com.starter.tuling;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 凡是以tuling.hello开头的，我们就把他绑定到当前类上面，当前还是要对应属性
 *
 * @author : fujc-dev@qq.com
 * @motto : talk is cheap, show me the code. salute the future!
 */
@ConfigurationProperties("tuling.hello")
public class HelloProperties {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
